package com.guodi.model.service;

import org.apache.poi.hssf.usermodel.HSSFWorkbook;

import javax.servlet.http.HttpServletResponse;

/**
 * @描述: 指标数值导出文档接口
 * @作者: 汤厚韬
 * @日期: 2021/1/21 19:26
 **/
public interface IIdtValueExportService {
    /***
     * @描述: 导出【体检评估_导出报告.xls】
     * @入参: idtTypeCode 指标体系编码，非空必填
     * @入参: divisionCode 行政区划，非空必填
     * @入参: orgId 组织单位id，如果不为空，则只返回责任单位为该单位及其子单位的指标
     * @入参: idtType 指标类型，不为空时会过滤指标
     * @入参: keyWord 关键词，不为空时会根据指标名和指标编号过滤，
     * @入参: idtStatus 指标状态，不为空时过滤
     * @入参: startYear 开始年份
     * @入参: endYear 结束年份
     * @出参: 【体检评估_导出报告.xls】
     * @作者: 陈宏成
     * @日期: 2021/02/02
     */
    void exportAssessmentExcel(HttpServletResponse response, String idtTypeCode, String divisionCode, String orgId, String idtType, String keyWord, String idtStatus, String startYear, String endYear, String idtTypeId);

    void exportMonitorValueExcel(HttpServletResponse response, String code, String divisionCode, Integer year, String orgId, String particularYear);

    void exportTargetValueExcel(HttpServletResponse response, String code, String divisionCode, String year, String orgId, String particularYear);

    HSSFWorkbook getTargetValueExcelByte(String code, String divisionCode, String year, String orgId);

    void exportReportValueExcel(HttpServletResponse response, String code, String divisionCode, String year, String orgId, String particularYear);

    HSSFWorkbook getReportValueExcelByte(String code, String divisionCode, String year, String orgId);

    void exportMonitorWarningReport(HttpServletResponse response, String indicatorsTypeCode, String divisionCode, Integer year, String orgId, String particularYear);

    String getMonitorWarningReportPath(String indicatorsTypeCode, String divisionCode, Integer year, String orgId);

    void exportMonitorValue(HttpServletResponse response, String code, String divisionCode, Integer year, String orgId, String particularYear);
}
